package cn.itsource.user.service;

import cn.itsource.user.domain.User;
import cn.itsource.basic.exception.CustomException;
import cn.itsource.basic.service.IBaseService;

public interface IUserService extends IBaseService<User>{

    void checkPhone(String phone) throws CustomException;

    /**
     * 根据loginingoid获取user对象
     * @param id
     * @return
     */
    User loadByLogininfoid(Long id);
}
